import common.pagedriver
loginbutton='//android.widget.Button[@content-desc="登录"]'#登录选项Xpath
registerbutton='//android.widget.Button[@content-desc="注册"]'#注册选项Xpath
walletloginbutton='//android.widget.Button[@content-desc="钱包快捷登录/注册"]'#钱包快捷登录
class LoginandRegisterPage:
    def login_click(self):#登录
        common.pagedriver.Click_xpath(loginbutton)
    def register_click(self):#注册
        common.pagedriver.Click_xpath(registerbutton)
    def walletlogin_click(self):#钱包快捷登录
        common.pagedriver.Click_xpath(walletloginbutton)



